#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
    int ch = 0;
    for (; (scanf(" %c", &ch)) != EOF;) {
        for (; 'A' <= ch && ch <= 'Z';) {
            printf("%c\n", ch + 32);
            break;
        }
        

    }
    return 0;
}


